package com.buaa.pm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.buaa.pm.entity.Project;
import com.buaa.pm.entity.Task;
import com.buaa.pm.model.dto.ProjectInfoDTO;
import com.buaa.pm.model.dto.TaskInfoDTO;

import java.util.List;

public interface TaskService  extends IService<Task> {
    Task createTask(TaskInfoDTO taskInfoDTO);

    List<Task> listTaskByProject(String projectId);

    Task getTaskById(String taskId);
}
